package cn.iocoder.yudao.module.eval.controller.admin.condition.vo;

import lombok.*;
import java.time.LocalDateTime;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 申报条件配置分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class EvalApplicationConditionPageReqVO extends PageParam {

    @Schema(description = "条件名称", example = "年龄要求")
    private String conditionName;

    @Schema(description = "适用职业代码", example = "4-07-05-02")
    private String professionCode;

    @Schema(description = "适用技能等级", example = "五级/初级工")
    private String skillLevel;

    @Schema(description = "适用评价方式", example = "理论考试+实操考核")
    private String evaluationMethod;

    @Schema(description = "条件类型", example = "age")
    private String conditionType;

    @Schema(description = "是否必填", example = "true")
    private Boolean isRequired;

    @Schema(description = "条件状态", example = "1")
    private Integer conditionStatus;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
